<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    *{margin: 0;padding:0;}
    .block1{
      /* position: relative; */
      /* width: 200px; */
      height: 200px;
      background-color: blue;
    }
    .block2{
      position: absolute;
      width: 100%;
      /* height: 400px; */
      background-color: red;
      top: 100px;
      border-radius:20px;
    }
    .footer{
      position: fixed;
      bottom: 0;
      width: 100%;
      height: 80px;
      background-color: brown;
    }
  </style>
</head>
<body>
  <div>
  <div class="block1">1</div>
  <div class="block2">2asfsdasdasd
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    v
    <div>sss</div> 
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div> 
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>sss</div>
    <div>222</div>
    <div>222</div>
  </div>
  <div class="footer"></div>
</div>
</body>
</html>